package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 水果信息对象 sys_fruits
 * 
 * @author ruoyi
 * @date 2023-10-31
 */
public class SysFruits extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 水果编号 */
    private Long fruitId;

    /** 水果名称 */
    @Excel(name = "水果名称")
    private String fruitName;

    /** 价格 */
    @Excel(name = "价格")
    private String fruitPrice;

    /** 是否需要冷藏（0不需要 1需要） */
    @Excel(name = "是否需要冷藏", readConverterExp = "0=不需要,1=需要")
    private String fruitIsrefri;

    /** 类别（1瓜果类 2核果类 3柑橘类 4浆果类） */
    @Excel(name = "类别", readConverterExp = "1=瓜果类,2=核果类,3=柑橘类,4=浆果类")
    private String fruitSort;

    public void setFruitId(Long fruitId) 
    {
        this.fruitId = fruitId;
    }

    public Long getFruitId() 
    {
        return fruitId;
    }
    public void setFruitName(String fruitName) 
    {
        this.fruitName = fruitName;
    }

    public String getFruitName() 
    {
        return fruitName;
    }
    public void setFruitPrice(String fruitPrice) 
    {
        this.fruitPrice = fruitPrice;
    }

    public String getFruitPrice() 
    {
        return fruitPrice;
    }
    public void setFruitIsrefri(String fruitIsrefri) 
    {
        this.fruitIsrefri = fruitIsrefri;
    }

    public String getFruitIsrefri() 
    {
        return fruitIsrefri;
    }
    public void setFruitSort(String fruitSort) 
    {
        this.fruitSort = fruitSort;
    }

    public String getFruitSort() 
    {
        return fruitSort;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("fruitId", getFruitId())
            .append("fruitName", getFruitName())
            .append("fruitPrice", getFruitPrice())
            .append("fruitIsrefri", getFruitIsrefri())
            .append("fruitSort", getFruitSort())
            .toString();
    }
}
